package com.hhlkeepalive.utils;

import android.app.Activity;

public class ActivityBean {
    private String name;
    private Activity activity;
    public ActivityBean(String name, Activity activity) {
        this.name = name;
        this.activity = activity;
    }
    public static ActivityBean getInstance(String name, Activity activity){
        return  new ActivityBean(name, activity);
    }
    public Activity getActivity() {
        return activity;
    }
    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "ActivityBean{" +
                "name='" + name + '\'' +
                '}';
    }
}
